package org.jeecg.modules.cusstyle.entity;

import java.io.Serializable;

import org.jeecg.common.aspect.annotation.Dict;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.springframework.format.annotation.DateTimeFormat;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @Description: 配石资料
 * @Date:   2021-09-13
 * @Version: V1.0
 */
@ApiModel(value="style_stone_info对象", description="配石资料")
@Data
@TableName("style_customer_stone_info")
public class CusStyleStoneInfo implements Serializable {
    private static final long serialVersionUID = 1L;

	/**主键*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "主键")
    private java.lang.String id;
	
	/**创建人*/
    @ApiModelProperty(value = "创建人")
    private java.lang.String createBy;
    
	/**创建日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建日期")
    private java.util.Date createTime;
	
	/**更新人*/
    @ApiModelProperty(value = "更新人")
    private java.lang.String updateBy;
    
	/**更新日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "更新日期")
    private java.util.Date updateTime;
	
	/**所属部门*/
    @ApiModelProperty(value = "所属部门")
    private java.lang.String sysOrgCode;
    
	/**石号*/
	@Excel(name = "石号", width = 15)
    @ApiModelProperty(value = "石号")
    private java.lang.String codeNum;
	
	/**石号名称*/
	@Excel(name = "石号名称", width = 15)
    @ApiModelProperty(value = "石号名称")
    private java.lang.String name;
	
	/**石类*/
	@Excel(name = "石类", width = 15, dictTable = "stone_category", dicText = "cate_name", dicCode = "id")
    @ApiModelProperty(value = "石类")
    private java.lang.String cateName;
	
	/**形状*/
	@Excel(name = "形状", width = 15, dicCode = "shape")
    @ApiModelProperty(value = "形状")
    private java.lang.String shape;
	
	/**筛号*/
	@Excel(name = "筛号", width = 15)
    @ApiModelProperty(value = "筛号")
    private java.lang.String sizeNum;
	
	/**镶法*/
	@Excel(name = "镶法", width = 15, dicCode = "inlay_type")
    @ApiModelProperty(value = "镶法")
    private java.lang.String inlay;
	
	/**石数*/
	@Excel(name = "石数", width = 15)
    @ApiModelProperty(value = "石数")
    private java.lang.Integer stoneCount;
	
	/**单粒石重（ct）*/
	@Excel(name = "单粒石重（ct）", width = 15)
    @ApiModelProperty(value = "单粒石重（ct）")
    private java.math.BigDecimal unitWeight;
	
	/**总石重(ct)*/
	@Excel(name = "总石重(ct)", width = 15)
    @ApiModelProperty(value = "石重(ct)")
    private java.math.BigDecimal weight;
	
	/**镶工单价*/
	@Excel(name = "镶工单价", width = 15)
    @ApiModelProperty(value = "镶工单价")
    private java.math.BigDecimal inlayUnitCost;
	
	/**计价方式*/
	@Excel(name = "计价方式", width = 15, dicCode = "count_price_pattern")
    @Dict(dicCode = "count_price_pattern")
    @ApiModelProperty(value = "计价方式")
    private java.lang.Integer countPricePattern;
	
	/**镶工总价*/
	@Excel(name = "镶工总价", width = 15)
    @ApiModelProperty(value = "镶工总价")
    private java.math.BigDecimal inlayTotalCost;
	
	/**石单价*/
	@Excel(name = "石单价", width = 15)
    @ApiModelProperty(value = "石单价")
    private java.math.BigDecimal stoneUnitPrice;
	/**石总价*/
	@Excel(name = "石总价", width = 15)
    @ApiModelProperty(value = "石总价")
    private java.math.BigDecimal stoneTotalPrice;
	/**颜色*/
	@Excel(name = "颜色", width = 15, dicCode = "color")
    @ApiModelProperty(value = "颜色")
    private java.lang.String color;
	/**车工*/
	@Excel(name = "车工", width = 15, dicCode = "cutting")
    @ApiModelProperty(value = "车工")
    private java.lang.String cutting;
	
	/**配石方案*/
	@Excel(name = "配石方案", width = 15)
    @ApiModelProperty(value = "配石方案")
    private java.lang.String combination;
	
	/**级别*/
	@Excel(name = "级别", width = 15, dicCode = "stone_level")
    @ApiModelProperty(value = "级别")
    private java.lang.String level;
	
	/**主副石*/
	@Excel(name = "主副石", width = 15, dicCode = "main_stone_type")
    @ApiModelProperty(value = "主副石")
    private java.lang.Integer mainStone;
	
	/**客来石*/
	@Excel(name = "客来石", width = 15, dicCode = "yes_or_no")
    @ApiModelProperty(value = "客来石")
    private java.lang.Integer comeFrom;
	
	/**备注*/
	@Excel(name = "备注", width = 15)
    @ApiModelProperty(value = "备注")
    private java.lang.String remark;
	
	/**款式ID*/
    @ApiModelProperty(value = "款式ID")
    private java.lang.String styleCustomerInfoId;
}
